package com.cleaningcloud.erp.domain.vo;

import com.cleaningcloud.common.core.annotation.Excel;
import com.cleaningcloud.erp.domain.ErpSale;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class ErpSaleVo extends ErpSale {

    // 销售单明细
    List<ErpSaleDetailsVo> detailsList;
    // 客户名称
    @Excel(name = "客户名称", sort = 2)
    private String customerName;
    // 客户负责人
    private String linkman;
    // 负责人联系电话
    private String linkmanPhone;
    // 销售人
    @Excel(name = "销售人", sort = 7)
    private String nickName;
    // 销售人联系电话
    @Excel(name = "联系电话", sort = 8)
    private String phonenumber;
    // 客户地址
    private String address;
    // 订单状态
    private String orderStatusStr;
    // 销售总量
    private int saleSumNumber;
    // 是否收货
    private int isHarvest;
    // 收货时间
    private String harvestTime;
    // 收货图片
    private String harvestImg;
    // 送货完成时间
    private String deliverTime;
    // 合计金额
    private BigDecimal sumPrice;
    // 取消订单
    private int isCancel;
}
